package com.wmh.baseservice.robot.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 谢骏
 * @date 2023/3/21 11:36
 **/
@ApiModel("修改机器状态VO")
@Data
@Accessors(chain = true)
public class RobotUpdateStatusReqVO implements Serializable {

    @ApiModelProperty(value = "机器编号",dataType = "Long", required = true)
    @NotNull(message = "参数错误,请上传机器编号")
    private Long robotNumber;

    @ApiModelProperty(value = "机器状态编号",dataType = "Integer", required = true)
    @NotNull(message = "参数错误,请上传状态id")
    private Integer statusId;

    @ApiModelProperty(value = "任务Id",dataType = "Integer")
    private Integer taskId;

    @ApiModelProperty(value = "任务名称",dataType = "String")
    private String taskName;

    @ApiModelProperty(value = "任务模板编号",dataType = "Long")
    private Long statementId;

    static final long serialVersionUID = 42L;
}
